<template>
	<view>
		<view class="add_list">
			<view class="list_one">
					<view class="list_left">
						<view>
						<text>张三</text>
						<text style="margin-left: 20px ;">18900003333</text>
						</view>
						<view>
							具体地址
						</view>
					</view>
					<view class="list_right">
						<image src="/static/images/order/shouhuo.png"></image>
					</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	import { queryAddress } from '@/api/address.js';
	import {ref} from 'vue'
	let addressList=ref([])
	// 获取 地址列表接口
	let getList=async ()=>{
			let res=await queryAddress();
			console.log(res,"地址列表")
			if(res.code==0){
				addressList.value=res.data;
			}
			
	}
	getList();
</script>

<style lang="scss">
	.list_one{
	  display: flex;
	  padding:20px;
	  box-sizing: border-box;
	  height: 160rpx;
	  width: 100%;
	  border-bottom: 1px solid black;
	  .list_left{
		  width: 70%;
	  }
	  .list_right{
		  width: 20%;
		  margin-left: 10%;
		  image{
			  width:60rpx;
			  height: 60rpx;
			  
		  }
	  }
	}
	
</style>